import './App.css'
import { HashRouter  as Router, useRoutes} from "react-router-dom"
import { Suspense } from "react";
import Route from './router'
import 'antd/dist/reset.css';
import { Pagination, ConfigProvider } from 'antd';
import zh_CN from 'antd/es/locale/zh_CN';
function App() {
  const GetRoutes = () => useRoutes(Route)

  return (
    <ConfigProvider locale={zh_CN}>
      <div className="App">
        <Router>
          <GetRoutes />
        </Router>
      </div>
    </ConfigProvider>
  )
}

export default App
